<?php include("include.php");?>
<?php
	$userid = $_POST['userid'];
	$projectid = $_POST['projectid'];
	$title =   $_POST['title'];
	$description = $_POST['description'];
	$countryid = $_POST['countryid'];
	$job = job::createJob($userid,$projectid,$title,$description,$countryid);
	//MUST CREATE THE RESSOURCE FILE FOR THE JOB
	mkdir(quark::getFolderPath($currentUser->getId(),$job->getId()));
?>
<meta http-equiv="REFRESH" content="0;url=dashboard.php?projectid=<?php echo $projectid;?>">
<?php include("includes/footer.php");?>